package org.ants.basecomponent.web;

import javax.servlet.http.HttpSession;

import org.ants.basecomponent.action.base.BaseAction;
import org.ants.basecomponent.config.Globals;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller()
public class IndexController extends BaseAction{
	
	@RequestMapping({"", "/"})
    public ModelAndView execute(HttpSession session){
        return new ModelAndView("redirect:/"+Globals.getAdminPath());
    }
}
